package lew.bing.novels;

import java.util.List;
import java.util.concurrent.TimeUnit;

/**
 * Created by 刘国兵 on 2019/8/18.
 *
 * @author 刘国兵
 */
public interface CollectNovels {

    default List<Novel> collect() {
        return collect(0, TimeUnit.SECONDS);
    }

    List<Novel> collect(long timeout, TimeUnit timeUnit);

}
